package cn.bootx.platform.bpmplus.event.entity;

import cn.bootx.platform.bpmplus.core.instance.entity.BpmInstance;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 流程实例完成事件
 *
 * @author xxm
 * @date 2022/9/18
 */
@Getter
public class ProcessCompletedEvent extends ApplicationEvent {

    private final BpmInstance bpmInstance;

    public ProcessCompletedEvent(Object source, BpmInstance bpmInstance) {
        super(source);
        this.bpmInstance = bpmInstance;
    }

}
